<?php $this->display('inc_skin.php', 0 , '开奖记录'); ?>
 
<link rel="stylesheet" href="/skin/laofan/newlist.css">
 <style type="text/css">
 .sub_ScorllCont{margin-top: 40px;margin-left: 0px;}
  .headerTop{margin-top: 0px;}
 </style>
 	<div class="header">
    <div class="headerTop">
        <div class="ui-toolbar-left">
            <a id="reveal-left" href="/index.php">reveal</a>
        </div>
        <h1 class="ui-toolbar-title">开奖大厅</h1>
    </div>
</div>
<br>
<div class="sub_ScorllCont">
<div class="lott-list">
  <ul id="draw_list">
  	<?php
  	  date_default_timezone_set('PRC');
  	    $start = date('Y-m-d 00:00:00');
        $end = date('Y-m-d 23:59:59');
        $res = "select * from {$this->prename}datassc where status =1 and time between '$start' and '$end' order by id desc";
  	    $res= $this->getPage($res, $this->page, $this->pageSize);
  	    foreach ($res['data'] as $key => $value) {
	  	    ?>
	  	      

	  	       <li class="list-k3">
	  	       	<a  href="javascript:;" style="background:none;">
	  	       		 <div class="lott-list-tit"><span>阿里分分彩</span><span class="gray" style="font-size: 11px;">第<?=$value['qishu']?>期  <?=$value['time']?></span></div>
	  	       		   <div  class="two-ball two-lottery nums-open">
				       <span class="nums">
	                   <i><?=$value['ball1'];?></i>
	                   <i><?=$value['ball2'];?></i>
	                   <i><?=$value['ball3'];?></i>
	                   <i><?=$value['ball4'];?></i>
	                   <i><?=$value['ball5'];?></i>
				       </span>
				      </div>				
	  	       	</a>
	  	       </li>
	  	    <?php
  	    }
  	?> 
  </ul>
</div>

</div>
 <?php $this->display('inc_page.php',0,$res['total'],$this->pageSize, "/index.php/index/luckylist-{page}") ;?> 
 <?php $this->display('inc_footer.php'); ?> 
